﻿<%@ Page language="c#" %>
<script runat="server">

private void Page_Load(object sender, System.EventArgs e) {
}

</script>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<META HTTP-EQUIV="Expires" CONTENT="0">
<title>插入表格</title>
<style>

body {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background: #ffffff; 
	width: 100%;
	overflow:hidden;
	border: 0;
}

body,tr,td {
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
}
</style>


<script language="javascript">
function returnTable() {
	var arr = new Array();

	arr["CName"] = document.getElementById('CName').value.replace(/\s/g,'') + " ";  
	alert("[" + arr["CName"] + "]");
	arr["WordSize"] = document.getElementById('WordSize').value;  
	var item="Item";
    for(i=1;i<11;i++){
        arr[item+i]=document.getElementById(item+i).value.replace(/\s/g,'');
        
    }
    

    
    
	window.returnValue = arr;
	window.close();	
}		
</script>		
</HEAD>
<body>
<table width=100% cellpadding=1 cellspacing=3 border=0>
<tr><td valign=top>
	<fieldset ><legend>插入多行文本框</legend>
	<table width=100% height=100% cellpadding=0 cellspacing=0 border=0>
		<tr>
			<td>控件名称</td>
			<td><input type=text id="Width" name="CName"  style="width:50px;"></td>
		</tr><tr>
			<td>字体大小</td>
			<td><input type=text id="Cellpadding" name="WordSize" style="width:50px;" value=0></td>
		</tr>
        <tr>
            <td style="height: 15px">
                序号</td>
            <td style="height: 15px">
                输入下拉菜单项目</td>
        </tr>
        <tr>
            <td>
                1</td>
            <td>
                <input type=text id="Item1" name="Item1" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                2</td>
            <td>
                <input type=text id="Item2" name="Item2" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                3</td>
            <td>
                <input type=text id="Item3" name="Item3" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                4</td>
            <td>
                <input type=text id="Item4" name="Item4" style="width:50px;" value=""></td>
                
        </tr>
         <tr>
            <td>
                5</td>
            <td>
                <input type=text id="Item5" name="Item5" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                6</td>
            <td>
                <input type=text id="Item6" name="Item6" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                7</td>
            <td>
                <input type=text id="Item7" name="Item7" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                8</td>
            <td>
                <input type=text id="Item8" name="Item8" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                9</td>
            <td>
                <input type=text id="Item9" name="Item9" style="width:50px;" value=""></td>
        </tr>
         <tr>
            <td>
                10</td>
            <td>
                <input type=text id="Item10" name="Item10" style="width:50px;" value=""></td>
        </tr>
	</table>
	</fieldset>
</td>
<td>&nbsp;&nbsp;</td>
<td colspan=3 align=center>
	<input type="button" onclick="returnTable();return false;" value="插入">
</td></tr>
</table>

</body>
</html>
